package com.logic.landseaserver.persistence.read;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.logic.common.util.QueryUtil;
import com.logic.landseaserver.domain.BillPayment;
import com.logic.landseaserver.domain.SyncBillPayment;
import com.logic.landseaserver.ws.dto.BillPaymentDTO;

public interface BillPaymentReadMapper {

    BillPayment selectByPrimaryKey(Integer id);

    List<BillPaymentDTO> selectAllByCurrent(HashMap map);

    List<BillPaymentDTO> selectListByBillId(HashMap map);

    Double sumMoneyByBillId(Integer billId);

    List<BillPaymentDTO> getBillPaymentList(QueryUtil queryUtil);

    List<BillPayment> getUnpayedBillPayment(Integer billId, Date date);

    List<BillPayment> queryComeDuePayment(String createDate);
    
    List<SyncBillPayment> noSuccessPaymentBill(Map<String,Object> queryMap);
}

